radarAxis

雷达图坐标系

配置项

tip: 以下配置中,以style命名的配置对象, 支持zrender Style 配置规则


    zlevel: 0,
    z: 1,
    startAngle: 90,
    center: ['50%', '50%'],
    radius: 170,
    splitNumber: 5,
    name: {

        // 文字位置相对于最大半径
        positionOffset: 1.1,
        formatter: undefined,
        textStyle:{
            textBaseline: 'middle',
            textFill: '#ccc'
        }
    },
    axisLine: {
        lineStyle: {
            color: '#ccc'
        }
    },
    // 分隔线样式
    splitLine: {
        lineStyle: {
            // 使用深浅的间隔色
            color: ['#f5f5f5', '#e5e5e5'],
            // 分隔线 宽度
            width: 1 
        }
    },
    // 分隔线背景
    splitArea: {
        areaStyle: {
            // 使用深浅的间隔色
            color: ['#f5f5f5', '#e5e5e5']
        }
    },

    indicatorName: {
        textStyle: {
            color: '#fff',
            backgroundColor: '#999',
            borderRadius: 3,
            padding: [3, 5]
       }
    },

    // radar.indicator[i].max number
    // 指示器的最大值,可选,默认为 100
    // radar.indicator[i].min number
    // 指示器的最小值,可选,默认为 0。
    indicator: [
       // { name: '销售(sales)', max: 6500},
       // { name: '管理(Administration)', max: 16000},
       // { name: '信息技术(Information Techology)', max: 30000},
       // { name: '客服(Customer Support)', max: 38000},
       // { name: '研发(Development)', max: 52000},
       // { name: '市场(Marketing)', max: 25000}
    ],
    // 雷达图绘制类型,支持 'polygon' 和 'circle'。
    shape: 'polygon'